 
export default function ping(state = { isPinging: false }, action: any) {
  switch (action.type) {
    case 'pin':
      return { isPining: true };

    case 'pon':
      return { isPining: false };

    default:
      return state;
  }
}